package com.genesis.yunnanji.bean;

import java.util.List;

/**
 * 创建日期：2018/10/17 001716:15
 * 作者：Kite
 * 描述：
 */
public class SpecialtyFragmentBean {


    /**
     * status : 200
     * message : 查询成功
     * result : {"list":[{"id":"35","title":" 茶/饮","data":[{"id":"75","title":"普洱茶","cover_img":"/Picture/2017-09-26/59c9ad25db99d.jpg"},{"id":"80","title":"小粒咖啡","cover_img":"/Picture/2017-09-26/59c9c4dde7f10.jpg"},{"id":"83","title":"白雪茶","cover_img":"/Picture/2017-09-26/59c9cd14e6209.jpg"},{"id":"94","title":"红雪茶","cover_img":"/Picture/2017-09-26/59c9ee475d5aa.jpg"},{"id":"292","title":"大理矿泉","cover_img":"/Picture/2018-08-20/5b7a843548e09.jpg"},{"id":"294","title":"白酒","cover_img":"/Picture/2018-08-21/5b7b78e53869a.jpg"}]},{"id":"22","title":"保健品","data":[{"id":"76","title":"三七","cover_img":"/Picture/2017-09-26/59c9b544c0e6b.jpg"},{"id":"103","title":"天麻","cover_img":"/Picture/2017-09-26/59c9f6f578b3d.jpg"},{"id":"78","title":"辣木籽","cover_img":"/Picture/2017-09-26/59c9bf2d5f5e8.jpg"},{"id":"79","title":"玛卡","cover_img":"/Picture/2017-09-26/59c9c162f0561.jpg"},{"id":"293","title":"罗平小黄姜","cover_img":"/Picture/2018-08-21/5b7b72c13d567.jpg"}]},{"id":"17","title":"药材","data":[{"id":"181","title":"石斛","cover_img":"/Picture/2018-02-09/5a7d0155b910f.jpg"},{"id":"97","title":"昆明山海棠","cover_img":"/Picture/2017-09-26/59c9f0f9c7c38.jpg"},{"id":"98","title":"丽江山慈菇","cover_img":"/Picture/2017-09-26/59c9f1a098535.jpg"},{"id":"99","title":"灵芝","cover_img":"/Picture/2017-09-26/59c9f2a7824de.jpg"},{"id":"100","title":"露水草","cover_img":"/Picture/2017-09-26/59c9f3be08b0d.jpg"},{"id":"101","title":"披麻草","cover_img":"/Picture/2017-09-26/59c9f4dfaee80.jpg"},{"id":"102","title":"青羊参","cover_img":"/Picture/2017-09-26/59c9f5c5dc7f1.jpg"},{"id":"104","title":"续断","cover_img":"/Picture/2017-09-26/59c9f902f4135.jpg"},{"id":"105","title":"雪莲花","cover_img":"/Picture/2017-09-26/59c9f9e2b17c3.jpg"},{"id":"106","title":"岩白菜","cover_img":"/Picture/2017-09-26/59c9fb7f9716c.jpg"},{"id":"107","title":"阳春砂","cover_img":"/Picture/2017-09-26/59c9fc0184fec.jpg"},{"id":"108","title":"紫丹参","cover_img":"/Picture/2017-09-26/59c9fca8cc417.jpg"},{"id":"96","title":"金铁锁","cover_img":"/Picture/2017-09-26/59c9f02c403dc.jpg"},{"id":"95","title":"胡黄连","cover_img":"/Picture/2017-09-26/59c9ef0561167.jpg"},{"id":"82","title":"血竭","cover_img":"/Picture/2017-09-26/59c9cb4f46b92.jpg"},{"id":"84","title":"贝母","cover_img":"/Picture/2017-09-26/59c9ce30aee52.jpg"},{"id":"85","title":"粗茎秦艽","cover_img":"/Picture/2017-09-26/59c9cf4509208.jpg"},{"id":"86","title":"当归","cover_img":"/Picture/2017-09-26/59c9d0ae0ec82.jpg"},{"id":"87","title":"灯台叶","cover_img":"/Picture/2017-09-26/59c9d1bb3543d.jpg"},{"id":"88","title":"灯盏花","cover_img":"/Picture/2017-09-26/59c9d2d839110.jpg"},{"id":"89","title":"滇重楼","cover_img":"/Picture/2017-09-26/59c9e8d14e163.jpg"},{"id":"90","title":"豆腐渣果","cover_img":"/Picture/2017-09-26/59c9ea7956bd9.jpg"},{"id":"91","title":"何首乌","cover_img":"/Picture/2017-09-26/59c9eb7ed2b62.jpg"},{"id":"92","title":"红豆杉","cover_img":"/Picture/2017-09-26/59c9ec5f151b2.jpg"},{"id":"93","title":"红花","cover_img":"/Picture/2017-09-26/59c9ed63d208e.jpg"},{"id":"109","title":"紫金龙","cover_img":"/Picture/2017-09-26/59c9fdc70928c.jpg"}]},{"id":"19","title":"工艺品","data":[{"id":"288","title":"白族扎染","cover_img":"/Picture/2018-04-25/5adff8e5ee88f.png"}]},{"id":"18","title":"美食","data":[{"id":"77","title":"蒙自过桥米线","cover_img":"/Picture/2017-09-26/59c9b856eaf51.jpg"},{"id":"180","title":"云腿","cover_img":"/Picture/2018-02-08/5a7bcaef5d9bc.jpg"},{"id":"287","title":"华宁柑桔","cover_img":"/Picture/2018-04-23/5add7f37a9679.png"},{"id":"289","title":"老窝火腿","cover_img":"/Picture/2018-08-20/5b7a59fbaa25f.jpg"},{"id":"290","title":"醇自然罗平菜油","cover_img":"/Picture/2018-08-20/5b7a343058bb7.jpg"},{"id":"291","title":"普者黑土鸡","cover_img":"/Picture/2018-08-20/5b7a691a8d282.JPG"},{"id":"295","title":"冬瓜猪","cover_img":"/Picture/2018-08-21/5b7b7c3b57e23.JPG"},{"id":"296","title":"冰川极根","cover_img":"/Picture/2018-08-21/5b7bc6d2b7ac7.jpg"},{"id":"298","title":"墨江紫米","cover_img":"/Picture/2018-08-22/5b7cce225d282.jpg"}]}]}
     */

    private int status;
    private String message;
    private ResultBean result;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 35
             * title :  茶/饮
             * data : [{"id":"75","title":"普洱茶","cover_img":"/Picture/2017-09-26/59c9ad25db99d.jpg"},{"id":"80","title":"小粒咖啡","cover_img":"/Picture/2017-09-26/59c9c4dde7f10.jpg"},{"id":"83","title":"白雪茶","cover_img":"/Picture/2017-09-26/59c9cd14e6209.jpg"},{"id":"94","title":"红雪茶","cover_img":"/Picture/2017-09-26/59c9ee475d5aa.jpg"},{"id":"292","title":"大理矿泉","cover_img":"/Picture/2018-08-20/5b7a843548e09.jpg"},{"id":"294","title":"白酒","cover_img":"/Picture/2018-08-21/5b7b78e53869a.jpg"}]
             */

            private String id;
            private String title;
            private List<DataBean> data;
            private boolean isChecked;
            private int groupId;    //对应groupID

            public int getGroupId() {
                return groupId;
            }

            public void setGroupId(int groupId) {
                this.groupId = groupId;
            }

            public boolean isChecked() {
                return isChecked;
            }

            public void setChecked(boolean checked) {
                isChecked = checked;
            }

            public ListBean() {
            }

            public ListBean(String title) {
                this.title = title;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public List<DataBean> getData() {
                return data;
            }

            public void setData(List<DataBean> data) {
                this.data = data;
            }

            public static class DataBean {
                /**
                 * id : 75
                 * title : 普洱茶
                 * cover_img : /Picture/2017-09-26/59c9ad25db99d.jpg
                 */

                private String id;
                private String title;
                private String cover_img;
                private boolean isGroup;
                private int groupId = -1;  //组号
                private int itemType;

                public int getItemType() {
                    return itemType;
                }

                public void setItemType(int itemType) {
                    this.itemType = itemType;
                }

                public DataBean() {
                }

                public boolean getGroupId() {
                    return isGroup;
                }

                public void setGroupId(boolean groupId) {
                    isGroup = groupId;
                }

                public int getGroup() {
                    return groupId;
                }

                public void setGroup(int group) {
                    this.groupId = group;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getCover_img() {
                    return cover_img;
                }

                public void setCover_img(String cover_img) {
                    this.cover_img = cover_img;
                }
            }
        }
    }
}
